package com.jishaokang.service;

import com.jishaokang.base.Result;
import com.jishaokang.model.dto.Learn;

/**
 * Created by NANA_Final on 2019/6/21.
 */
public interface LearnService {

    Result selectLearnByCourseIdAndUserId(Learn learn);
    Result selectCourseComment(Learn learn);
    Result updateCourseComment(Learn learn);
    Result deleteCourseComment(Learn learn);
    Result addLearn(Learn learn);

    Result selectLearnByUserId(Learn learn);

    Result selectLearnByCostDesc(Learn learn);

    Result selectLearnByUsername(Learn learn);


    Result updateLearnHistory(Learn learn);

    Result selectLearn(Learn learn);
}
